<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" data-placeholder-node="{:__('Node tips')}"  value="{$row.title|htmlentities}" data-placeholder-menu="{:__('Menu tips')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-info" class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-info" class="form-control editor" rows="5" name="row[info]" cols="50">{$row.info|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" name="row[money]" type="text" data-placeholder-node="{:__('Node tips')}" value="{$row.money|htmlentities}" data-placeholder-menu="{:__('Menu tips')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-fabulous_sum" class="control-label col-xs-12 col-sm-2">{:__('FabulousSum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fabulous_sum" class="form-control" name="row[fabulous_sum]" type="text" data-placeholder-node="{:__('Node tips')}" value="{$row.fabulous_sum|htmlentities}" data-placeholder-menu="{:__('Menu tips')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-comment_sum" class="control-label col-xs-12 col-sm-2">{:__('CommentSum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comment_sum" class="form-control" name="row[comment_sum]" type="text" data-placeholder-node="{:__('Node tips')}" value="{$row.comment_sum|htmlentities}" data-placeholder-menu="{:__('Menu tips')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-collection_sum" class="control-label col-xs-12 col-sm-2">{:__('CollectionSum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-collection_sum" class="form-control" name="row[collection_sum]" type="text" data-placeholder-node="{:__('Node tips')}" value="{$row.collection_sum|htmlentities}" data-placeholder-menu="{:__('Menu tips')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-reward_sum" class="control-label col-xs-12 col-sm-2">{:__('RewardSum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reward_sum" class="form-control" name="row[reward_sum]" type="text" data-placeholder-node="{:__('Node tips')}" value="{$row.reward_sum|htmlentities}" data-placeholder-menu="{:__('Menu tips')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('图片')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-imgs" data-rule="required" class="form-control" size="50"
                       name="row[imgs]" type="text" value="{$row.imgs|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-imgs" class="btn btn-danger faupload"
                                                  data-input-id="c-imgs"
                                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp"
                                                  data-multiple="true" data-preview-id="p-imgs"><i class="fa fa-upload"></i>
                                            {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-imgs" class="btn btn-primary fachoose"
                                  data-input-id="c-imgs" data-mimetype="image/*" data-multiple="true"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-imgs"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-imgs"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-re_info" class="control-label col-xs-12 col-sm-2">{:__('回复')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-re_info" class="form-control editor" rows="5" name="row[re_info]" cols="50">{$row.re_info|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否解决')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
